{% extends "master.html" %}
{% block breadcrumb %}
    <ul id="breadcrumb">
        <li><a href="/group/" title="Home"><img src="/public/images/home.png" alt="Home" class="home" /></a></li>
        <li>Audit</li>
    </ul>
{% endblock %}
{% block content %}
<br>
<h1 class="headlineText">Audit: </h1>
<table>
<tr>
    <th>Action</th>
    <th>Object</th>
    <th>User</th>
    <th>Date</th>
    <th>IP</th>
</tr>
{% for a in audits %}
<tr class="audit">
    <td class="auditaction">{{a.action}}</td>
    <td>{{a.objectName}}</td>
    <td><a href="/viewprofile/{{a.userID}}">{{a.getUserName}}</a></td>
    <td>{{a.date|date:"r"}}</td>
    <td>{{a.ip}}</td>
</tr>
{% endfor %}
</table>
{% endblock %}
